<?php if(!isset($_SESSION['adminId']) && !isset($_SESSION['kriticId']))
{
echo "<script>window.location='../admin/'</script>";
die();
}
?>

